scores = [21,12,10,1,2,3]
def average(*args):
    print(scores,type(scores))
    
    rst = 0
    for i in args:
        rst += i
    return rst / len(args)


print(average(*scores))  #把scores拆成多个元素（拆包）
print(*scores)


def show_info(**kwargs):
    print(kwargs,type(kwargs))
    
stu = {
    "name":"tom",
    "age":20,
    "score":100   
}

show_info(name="ada",age=12)
show_info(**stu)
